package njust.utils;

import njust.course.CourseDAO;
import njust.course.CourseService;
import njust.page.Page;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class DBTest {

    public static void main(String[] args) {
        List<Page> pages = Page.orderPage("course", 3, "desc");
        for (Page page:pages){
            System.out.println(page.getList());
        }
    }
}
